package com.trsj.lnsj.entity;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;



public interface CollectionRepo extends JpaRepository<CollectionDTO, Long> {
    Page<CollectionDTO> findByUserId(Long userId,Pageable page);

    List<CollectionDTO> findByUserIdAndActId(Long userId,Long actId);
}
